package yzserver.sx4a.form;


import yzserver.sx4a.domain.JobDomain;

/**
 * Created with IntelliJ IDEA.
 * User: andrew
 * Date: 14-8-15
 * Time: 上午10:20
 * To change this template use File | Settings | File Templates.
 */
public class Job {
    private String jobid ;//职务id
    private String jobname;//职务名称
    private String jobparent;//父职务iD
    private String opuser;//操作人
    private String enable;//职务状态（0是有效，1是失效）
    private String startdate;//生效时间yyyy-MM-dd 如2010-03-08
    private String enddate;//失效时间yyyy-MM-dd 如2010-03-08
    private String updatedate;//更新时间yyyy-MM-dd HH:mm:ss，
    private String attr1;//职务级别编码

    public Job(JobDomain domain) {
        this.jobid = domain.getJOBID();
        this.jobname= domain.getJOBNAME();
        this.jobparent= domain.getJOBPARENT();
        this.opuser= domain.getOPUSER();
        this.enable= domain.getENABLE();
        this.startdate= domain.getSTARTDATE();
        this.enddate= domain.getENDDATE();
        this.updatedate= domain.getUPDATEDATE();
        this.attr1= domain.getATTR1();
    }

    public Job() {

    }
    public String getJobid() {
        return jobid;
    }

    public void setJobid(String jobid) {
        this.jobid = jobid;
    }

    public String getJobname() {
        return jobname;
    }

    public void setJobname(String jobname) {
        this.jobname = jobname;
    }

    public String getJobparent() {
        return jobparent;
    }

    public void setJobparent(String jobparent) {
        this.jobparent = jobparent;
    }

    public String getOpuser() {
        return opuser;
    }

    public void setOpuser(String opuser) {
        this.opuser = opuser;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    public String getStartdate() {
        return startdate;
    }

    public void setStartdate(String startdate) {
        this.startdate = startdate;
    }

    public String getEnddate() {
        return enddate;
    }

    public void setEnddate(String enddate) {
        this.enddate = enddate;
    }

    public String getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(String updatedate) {
        this.updatedate = updatedate;
    }

    public String getAttr1() {
        return attr1;
    }

    public void setAttr1(String attr1) {
        this.attr1 = attr1;
    }
}
